﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserControl/MasterPage.Master"
    AutoEventWireup="true" CodeBehind="CacDonHangDaMua.aspx.cs" Inherits="TMDT_Nhom1A.Customer.CacDonHangDaMua" %>

<%@ Register Src="../UserControl/GioHang.ascx" TagName="GioHang" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <uc1:GioHang ID="GioHang1" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="divRegistry" runat="server" class="module_round_box_inner">
        <div class="module_round_box_inner2">
            <div class="s5_mod_h3_1">
                <div class="s5_mod_h3_2">
                    <h3 class="s5_mod_h3">
                        <span class="s5_h3_first">Hóa đơn mua hàng online</span>
                    </h3>
                </div>
            </div>
            <div style="padding-bottom: 15px; padding-top: 15px">
                <div style="margin-left: 20px; margin-bottom: 10px">
                    <b>Quý khách đã mua online :</b>
                    <asp:Label ID="lbcount1" runat="server" Font-Bold="true" ForeColor="Red" Text="Label"></asp:Label>
                    <b>hóa đơn</b>
                </div>
                <asp:GridView ID="gvbillbuyonline" runat="server" Width="100%" AutoGenerateColumns="False">
                    <Columns>
                        <asp:TemplateField HeaderText="Hóa đơn">
                            <ItemTemplate>
                                <a href='<%# "ChiTietHoaDon.aspx?Orderb2bid=" + Eval("OrderB2B_ID") %>'>
                                    <%# Eval("OrderB2B_ID")%></a>
                            </ItemTemplate>
                            <ItemStyle Width="200px" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="OrderedDate" HeaderText="Ngày mua">
                            <ItemStyle HorizontalAlign="Left" Width="200px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="OrderTransportDate" HeaderText="Ngày vận chuyển">
                            <ItemStyle HorizontalAlign="Left" Width="200px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TransportType" HeaderText="Kiểu vận chuyển">
                            <ItemStyle HorizontalAlign="Left" Width="200px" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="Xem Vận chuyển">
                            <ItemTemplate>
                                <a href='<%# Eval("LinkTranport") %>' target="_blank" title="xem quá trình vận chuyển">Xem </a>
                            </ItemTemplate>
                            <ItemStyle Width="200px" HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="TotalPrice" HeaderText="Tổng số tiền" DataFormatString="{0:###,###,### VND}">
                            <ItemStyle HorizontalAlign="Left" Width="200px" />
                        </asp:BoundField>
                    </Columns>
                    <HeaderStyle CssClass="HeaderGrid" />
                </asp:GridView>
                <div style="margin-left: 400px; margin-top: 10px">
                    <b>Số tiền đã mua :</b>
                    <asp:Label ID="lbtotalprice1" Font-Bold="true" ForeColor="Red" runat="server" Text="Label"></asp:Label>
                </div>
            </div>
        </div>
    </div>
    <div id="div1" runat="server" class="module_round_box_inner">
        <div class="module_round_box_inner2">
            <div class="s5_mod_h3_1">
                <div class="s5_mod_h3_2">
                    <h3 class="s5_mod_h3">
                        <span class="s5_h3_first">Hóa đơn mua hàng qua nhóm mua chung</span>
                    </h3>
                </div>
            </div>
            <div style="margin-left: 20px; margin-bottom: 10px">
                <b>Quý khách đã mua coupon qua nhóm chung :</b>
                <asp:Label ID="lbcount2" runat="server" Font-Bold="true" ForeColor="Red" Text="Label"></asp:Label>
                <b>hóa đơn</b>
            </div>
            <div style="padding-bottom: 15px; padding-top: 15px">
                <asp:GridView ID="gvbillbuybycompany" runat="server" Width="100%" AutoGenerateColumns="False">
                    <Columns>
                        <asp:TemplateField HeaderText="Hóa đơn">
                            <ItemTemplate>
                                <a href='<%# "ChiTietHoaDon.aspx?OrderCouponID=" + Eval("OrderCouponID") %>'>
                                    <%# Eval("OrderCouponID")%></a>
                            </ItemTemplate>
                            <ItemStyle Width="200px" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="OrderedDate" HeaderText="Ngày mua">
                            <ItemStyle HorizontalAlign="Left" Width="200px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="OrderTransportDate" HeaderText="Ngày vận chuyển">
                            <ItemStyle HorizontalAlign="Left" Width="200px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TransportType" HeaderText="Kiểu vận chuyển">
                            <ItemStyle HorizontalAlign="Left" Width="200px" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="Xem Vận chuyển">
                            <ItemTemplate>
                                <a href='<%# Eval("LinkTranport") %>' target="_blank" title="xem quá trình vận chuyển">Xem </a>
                            </ItemTemplate>
                            <ItemStyle Width="200px" HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="TotalPrice" HeaderText="Tổng số tiền" DataFormatString="{0:###,###,### VND}">
                            <ItemStyle HorizontalAlign="Left" Width="200px" />
                        </asp:BoundField>
                    </Columns>
                    <HeaderStyle CssClass="HeaderGrid" />
                </asp:GridView>
                <div style="margin-left: 400px; margin-top: 10px">
                    <b>Số tiền đã mua :</b>
                    <asp:Label ID="lbtotalprice2" Font-Bold="true" ForeColor="Red" runat="server" Text="Label"></asp:Label>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
